package com.csdj.beans.interfaces.goods;

import com.csdj.beans.entity.Goods;

public interface IGoodsService {

    Goods getById(int id);


    /**
     * 修改库存
     *
     * @param id
     * @param quantity
     * @return
     */
    boolean updateStorage(int id, int quantity);

}
